<script setup>
import ObsClient from "esdk-obs-browserjs/src/obs";
import { uploadFile } from "@/utils/tools";
const uploadHttpRequest = async (v) => {
  const res = await uploadFile(v);
  console.log(res);
};
</script>

<template>
  <div class="content">
    <el-upload action="#" drag :http-request="uploadHttpRequest" :show-file-list="false">
      <template #default>
        <div style="font-size: 14px">上传文件</div>
      </template>
    </el-upload>
  </div>
</template>

<style scoped></style>
